package cn.jbt.api.admin.repository;

import cn.jbt.api.admin.entity.CmsPlaceItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CmsPlaceItemRepository extends JpaRepository<CmsPlaceItem, Long> {

    CmsPlaceItem findFirstById(long id);

    void deleteByPlaceIdIn(List<Long> placeIds);

}
